﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="basedata_add.aspx.cs" Inherits="uswinweb.admin.basedata_add" %>
<%@ Register TagPrefix="win" TagName="pop_routesList" Src="../datacontrol/pop_routesList.ascx" %>
<%@ Register TagPrefix="win" TagName="pop_coutryList" Src="../datacontrol/pop_coutryList.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>新增</title>
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link href="../css/comm.css" rel="stylesheet" type="text/css" />
<link href="../css/lightview.css" type="text/css" rel="stylesheet" />
<script src="../js/jquery.js" type="text/javascript"></script>
<script src="../js/prototype.js" type="text/javascript"></script>
<script src="../js/scriptaculous.js?load=effects" type="text/javascript"></script>
<script src="../js/lightview.js" type="text/javascript"></script>
<script src="../js/effects.js" type="text/javascript"></script>
<script src="../js/table.js" type="text/javascript"></script>
<script src="../js/jquery_common.js" type="text/javascript"></script>
<script src="../js/jquery-choose.js" type="text/javascript"></script>
</head>
<body>
<div class="repcot" id="repcot">
<form id="form1" runat="server" action="" method="post" >
	<table cellpadding="0" cellspacing="0" border="0" class="adtb">
		<thead>
			<tr>
				<td colspan="2" style="position:relative;">新增基础数据</td>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td width="15%"><p class="zi1">代码：</p></td>
				<td>
				<p class="zi2"><input id="bTcodetxt" name="bTcodetxt"  type="text" class="soout" onblur="this.className='soout'" onfocus="this.className='soon'" style="width:150px;" /></p>
				</td>
			</tr>
			<tr>
				<td width="15%"><p class="zi1">名称：</p></td>
				<td>
				<p class="zi2"><input id="bnametxt" name="bnametxt"  type="text" class="soout" onblur="this.className='soout'" onfocus="this.className='soon'" style="width:150px;" /></p>
				</td>
			</tr>
			<tr>
				<td width="15%"><p class="zi1">英文名：</p></td>
				<td>
				<p class="zi2">
                <input id="bEnametxt" name="bEnametxt"  type="text" class="soout" onblur="this.className='soout'" onfocus="this.className='soon'" style="width:150px;" />
                </p>
				</td>
			</tr>
           <% LTJ.Entity.BType bt=new LTJ.Entity.BType ();
                       string[] ee = btInfo.expand.ToString().Split(',');
               for (int j=0;j<ee.Length;j++)
               {
               if(ee[j].ToString()=="Port")
               {
                         %>
			<tr>
				<td width="15%"><p class="zi1">启运港：</p></td>
				<td>
				<p class="zi2">
                <input type="checkbox" id="port_check" name="port_check" value="1" />
                </p>
				</td>
			</tr>
                           <%
               }
                               if (ee[j].ToString() == "Routes")
                               {%>
			<tr>
				<td width="15%"><p class="zi1">所属航线：</p></td>
				<td width="35%">
				<div class="zi2 popxg" style="z-index:100">
					<p class="ip1" id="routes_hidd_mino"></p>
                    <input type="hidden" id="routes_hidd_luffy" name="routes_hidd_luffy" value="0" />
					<span class="an"></span>
					<div class="cn" style="width:340px;" id="routes_hidd_div">
                    <div id="showdata">
						<win:pop_routesList runat="server" ID="pop_routesList1" />
                        </div>
					</div>
				</div>
				</td>
                </tr>

                   <%
                               }
                       if (ee[j].ToString() == "National")
                       {%>
			<tr>
				<td width="15%"><p class="zi1">国家：</p></td>
				<td width="35%">
				<div class="zi2 popxg" style="z-index:99">
					<p class="ip1" id="national_hidd_mino"></p>
                    <input type="hidden" id="national_hidd_luffy" name="national_hidd_luffy" value="0" />
					<span class="an"></span>
					<div class="cn" style="width:340px;" id="national_hidd_div">
                    <div id="showdata2">
						<win:pop_coutryList runat="server" ID="pop_coutryList1" />
                        </div>
					</div>
				</div>
				</td>
                </tr>

                       <%
                       }
                    } %>
		</tbody>
	</table>
	<p class="insa">
		<span><input class="save" name="" type="submit" value="确 定" /></span>
	</p>
    </form>
</div>
</body>
<script type="text/javascript">
    jQuery(document).ready(function () {
        choose("popxg");
    });
</script>
</html>

